package com.example.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 班级实体类
 */
@Data
@Schema(description = "班级实体")
public class Clazz {
    @Schema(description = "班级ID", example = "1")
    private Integer id;
    
    @Schema(description = "班级名称", example = "Java全栈1班")
    private String name;
    
    @Schema(description = "班主任ID", example = "1")
    private Integer teacherId;
    
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
    
    @Schema(description = "班主任姓名", example = "李老师")
    private String teacherName;
} 